﻿<%@ Page Language="C#" MasterPageFile="~/Themes/MasterPage.master" AutoEventWireup="true" CodeFile="UpdateMounterParameter.aspx.cs" Inherits="Common_UpdateMounterParameter" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TabTitle" Runat="Server">
  贴片机信息维护
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
<script type="text/javascript">
    function UpdateOK() {
        alert('修改成功！');
        window.opener.location.reload();
        self.close();
    }
    function UpdateFalse() {
        alert('信息修改错误！');
    }
    function IsEmpty() {
        
        var ability = document.getElementById("<%=TextBoxAbility.ClientID %>");
        var parameter = document.getElementById("<%=TextBoxParameter.ClientID %>");
        if (ability.value == "" || parameter.vlaue == "") {

            alert("修改信息不能为空!");
            return false;
        }
    }

</script>
 <div style=" height:25px">
 </div> 
 <fieldset >
<table width="100%">
<tr>
 <td>
   <font size="2">型号</font>
   </td>
<td>
    <div style="float:left">
       <asp:TextBox ID="TextBoxMachineType" runat="server" AutoCompleteType="Disabled" 
            Enabled="False"></asp:TextBox>
   </div>
    </td>
<td>
    <font size="2">能力</font>
   </td>
<td>
 <div style="float:left">
        <asp:TextBox ID="TextBoxAbility" runat="server"  AutoCompleteType="Disabled"></asp:TextBox>
      </div>
</td>
<td>
    <font size="2">参数</font></td>
<td>
 <div style="float:left">
      <asp:TextBox ID="TextBoxParameter" runat="server"  AutoCompleteType="Disabled"></asp:TextBox>
     </div>
</td>
</tr>
<tr>
<td>
   <font size="2">维修人</font></td>
<td>
      <div style="float:left">
      <asp:TextBox ID="TextBoxPeople" runat="server"  AutoCompleteType="Disabled"></asp:TextBox>
     </div>
    </td>
<td>
   <font size="2">维修时间</font></td>
<td>
   <div style="float:left">
      <asp:TextBox ID="TextBoxtTime" runat="server"  AutoCompleteType="Disabled" ></asp:TextBox>
     </div>
     
     </td>
<td colspan="2">

    </td>
</tr>
<tr style=" height:20px">
<td>
    &nbsp;</td>
<td>
      &nbsp;</td>
<td>
    &nbsp;</td>
<td >
   <asp:Button ID="ButtonOK" runat="server" Text="确认" OnClientClick="return IsEmpty()" onclick="ButtonOK_Click" />
    &nbsp;&nbsp;
    <asp:Button ID="ButtonCancel" runat="server" Text="取消" 
        onclick="ButtonCancel_Click" />
   </td>
<td colspan="2">

    </td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td colspan="2">

    </td>
</tr>
<tr>
<td>
    &nbsp;</td>
<td>
    &nbsp;</td>
<td>
    &nbsp;</td>
<td>
    &nbsp;</td>
<td colspan="2">

    </td>
</tr>
</table>
</fieldset>
</asp:Content>
